IBM Works for OS/2 | 1996-11-18 | 37KB | 214 lines
IBM Works OS/2
Copyright (C) Footprint Software Inc. 1993-1994
LASERJET
HP LaserJet 4L
HPLaserJ
The HHResearch REDWOOD logo was generated using ColorWorks V2 for OS/2.
We wrote REDWOOD in IBM CSet++ 2.1, VisPro C++, and used Object Desktop to accelerate our 'Connect development environment.
This is the directory structure:
\REDWOOD
redwood.EXE
sysout.dat The output file
vsclock.dll Time is important
vscalndr.dll Dates are important
PROCLIB The proclib files may have up to 20 records.
*.jcl JCL prototypes. Modify these for your shop
jesexit.jcl JES control cards.
HOST
*.dat EBCDIC input files.
TOOLS Utilities
hexdata.cmd generates sample data
This structure is subject to change.
You can use IND$FILE and LU2 or TCP/IP to transmit files between the host and REDWOOD on the PC. We may include an LU6.2 connection service in the future.
The .jcl distributed with REDWOOD is not intended to work, these are examples that you can modify for your local standards. Currently, a pre-source exit generates the JCL. We may include some capability for REDWOOD's JES and JCL exits to customized your JCL prototypes.
The BETA-0 does not include the date conversion routines. These will be available in a future release.
REDWOOD terminology.
In addition to standard mainframe terms, REDWOOD introduces two Y2K terms.
Wrappers
A Wrapper is a pair of programs that isolates Y2K compliant programs from non-Y2K compliant programs.
An Open Wrapper, converts a non-Y2K compliant file to Y2K compliancy. It does this by prepending a two digit century indicator to all year field in the file. For example, a field containing 99365F, would be expanded to 0099365F and the value 1,900,000 would be added giving 1999365F.
For some years, a 2,000,000 would be added. For example, the year 35 could be 1935 or 2035. The Wrap date specifies the year after which 19 is prepended and at which or before, 20 is prepended. If the Wrap date is 35, the the year 35 becomes 2035 but the year 36 becomes 1936.
A Close Wrapper converts a Y2K compliant file to non-Y2K compliancy. A Close Wrapper simply discards the century and shortens the fields.
Wrappers are useful for expanding files and isolating portions of systems that are not Y2K compliant.
Pivots
A Pivot is a pair of programs that shifts dates by a constant amount. The Pivot date is the amount of time that the REDWOOD shifts the date.
An Open Pivot shifts the date down by a set number of years. For example, if the Pivot is 35 and the year is 1999, the output from an open Pivot is 1963. If a two digit year is pivoted, the output is 63.
A Close Pivot shifts the date up by a set number of years. If the Pivot date is 35 years, and the year is 1999, the output from the close Pivot is 2034. If a two digit year is pivoted, the output is 34.
Pivots and wrappers are basic tools for Y2K development, conversion, and testing.
Required
- This is a limited Beta testers license. You may not decompile, disassemble, or reverse engineer the REDWOOD program. This package may include 3 dynamic link libraries (VCPOBJ.DLL, VSCLOCK.DLL, VSCALNDR.DLL) licensed from and Copyrighted by HockWare Inc. 1994. These libraries may only be redistributed as part of the REDWOOD Beta program and only when accompanied by this limited license.